package com.zxy.controlcenter.core.message.response;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 错误响应类
 *
 * @author zxy
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ErrorResponseData extends ResponseData {
    private String exceptionClazz;

    public ErrorResponseData(String message) {
        super(false, ResponseData.DEFAULT_ERROR_CODE, message, (Object) null);
    }

    public ErrorResponseData(Integer code, String message) {
        super(false, code, message, (Object) null);
    }

    public ErrorResponseData(Integer code, String message, Object object) {
        super(false, code, message, object);
    }
}
